﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Repository.Models.System
{
    public class SysClasses : BusinessFullEntityBase<Guid>
    {
        /// <summary>
        /// 所属园区Id
        /// </summary>
        public Guid? GardenId { get; set; }

        /// <summary>
        /// 所属园区
        /// </summary>
        public string? GardenName { get; set; }

        /// <summary>
        /// 班级名称
        /// </summary>
        [MaxLength(128)]
        public string? Name { get; set; }

        /// <summary>
        /// 开班时间
        /// </summary>
        public DateTime? OpenTime { get; set; }

        /// <summary>
        /// 教师Id
        /// 多个用逗号隔开
        /// </summary>
        public string? TeacherIds { get; set; }

        /// <summary>
        /// 教室Id
        /// </summary>
        public Guid? ClassroomId { get; set; }

        /// <summary>
        /// 教室名称
        /// </summary>
        [MaxLength(128)]
        public string? ClassroomName { get; set; }

        /// <summary>
        /// 保育员ids
        /// 多个用英文逗号隔开
        /// </summary>
        public string? NurseIds { get; set; }

        /// <summary>
        /// 是否归档
        /// </summary>
        public bool IsArchived { get; set; } = false;

        /// <summary>
        /// 归档时间
        /// </summary>
        public DateTime? ArchiveTime { get; set; }
    }
}
